<?php
//支付宝免押配置
//return [
//    'appid' => 'wxfb5d0620ce0c740e',//微信小程序appid
//    'mch_id' => '1713447616',//微信商户号
//    'key' => 'MjQxMDExMDcwg4MjkxMDEwMDN2U3WhcN',//微信商户V3密钥
//    'service_id' => '00002009000000174557900667560207',//免押服务id
//    'pay_apikey' => '',//未用到
//    'start_service_introduction' => '计费规则 ',//开始订单名称
//    'end_service_introduction' => '费用明细 ',//结束订单名称
//    'notify_url' => 'https://shanyu.test.jhwangluo.com/api/Wechat_chapter/chapterNotify',
//    'serial_no' => '7FC35CFCD74DB8C3AF2B635D210FBAB06C5C0430',//微信商户证书序号
//    'api_cert' => ROOT_PATH . "public/cash/apiclient_cert.pem",
//    'api_key' => ROOT_PATH . "public/cash/apiclient_key.pem",
//    'user_agent' => 'Mozilla/5.0 (Linux; Android 9; HMA-AL00 Build/HUAWEIHMA-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/66.0.3359.126 MQQBrowser/6.2 TBS/45016 Mobile Safari/537.36 MMWEBID/1117 MicroMessenger/7.0.9.1560(0x27000935) Process/tools NetType/4G Language/zh_CN ABI/arm64',
//    'max_pay_amount'=>99,//最大支付金额
//];


// application/extra/alipay.php

return [
    'app_id' => '2021005139621972',
    'merchant_private_key' => 'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCCijFm3DIxBMzZ23rZY1GqZpTZwJ/RplS+cPaqLSprwCuq/ynql5teSpqGh5WgzkdePWMWt5gDll/ydN8LwqBRDW07XRSOsI2Y6xKOsDL+25clj+NBYVIVatUCoz77ETuS8TX/17alknle2e3duM+NTOhUEIJQWXH1cZlmp86jrJ2QycRSNHO8b7SI/koI2O+8JgVabXStnmdta/5sBr8WX9AQArly3UOdYhgUj6xGLpksBbeA08j5pXU5PbrjwnlKVCGBztw4yPR13MsO5dilXjG4B75TYKYIII+XPk75NEpkSQ+BEo5P9rGYlZ0hNMvGvLM9L8OS/Sa1zqaNVsblAg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832+kDXwMx81Ggx+SBqm/5IMi36dOmbxBc5AaX/7ajYluAEOwfaV+fxBokMpZ1mP6Y/G31l/1grO64sA35tCudIZypyZ3j0cm19Ydc3vXMsyYnAQFJS/wa+Tgx5Y6NHU6H/2NRJTHQ==', // 注意，这里依然是私钥字符串
    'charset' => 'UTF-8',
    'sign_type' => 'RSA2',
    'gatewayUrl' => 'https://openapi.alipay.com/gateway.do',

    // ======== 证书模式需要填写的路径 ========
    // 证书路径是相对于项目根目录的相对路径
    'app_cert_path' => 'extend/alipay/cert/appCertPublicKey_2021005139621972.crt',
    'alipay_cert_path' => 'extend/alipay/cert/alipayCertPublicKey_RSA2.crt',
    'alipay_root_cert_path' => 'extend/alipay/cert/alipayRootCert.crt',

    // ======== 芝麻免押相关配置 ========
    'max_pay_amount' => 99, // 最大支付金额
    'service_id' => '2025053000000000000109982700', // 芝麻信用服务ID
    'category' => 'CREDIT_RENT_OFFLINE', // 信用类目，固定值
    'deposit_product_mode' => 'POSTPAY_UNCERTAIN', // 受理台模式
    'notify_url' => 'https://tqg.shanyutaiqiu.com/api/Alipay_chapter/chapterNotify', //授权免押回调地址
    'unfreeze_notify_url' => 'https://tqg.shanyutaiqiu.com/api/Alipay_chapter/unfreeze_notify',//完结免押订单回调(解冻押金)
    'pay_notify_url' => 'https://tqg.shanyutaiqiu.com/api/Alipay_chapter/pay_notify',//免押扣款回调

];